<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">
<head>
    <title>edit</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <link rel="stylesheet" href="../lib/jquery-easyui/themes/icon.css"/>
    <link rel="stylesheet" href="../lib/jquery-easyui/themes/default/easyui.css"/>
    <link rel="stylesheet" href="../css/style.css"/>
    <link rel="stylesheet" href="../css/sunStyle.css"/>
</head>
<style>
    #roleBtn {
        margin-top: 90px;
        margin-left: 160px;
    }
</style>
<body style="overflow: hidden;">
<div class="admin_module_mainbox">
    <div class="postion">
        <table border="0" cellpadding="0" cellspacing="0" width="100%"
               height="32">
            <tr>
                <td height="32" width="70"><p class="dqwz-name">当前位置：</p></td>
                <td class="wd" width="60"><a href="#">布局管理</a></td>
                <td width="10"><img src="../images/jt.gif"/></td>
                <td><p class="dqwz-name">修改信息</p></td>
            </tr>
        </table>
    </div>
    <div class="sub_data">
        <div style="height: 90%; width: 100%; overflow: auto;" align="center">
            <form action="" id="editForm" name="mainform" method="post">
                <input type="hidden" id="id" name="id" th:value="${id}"/>
                <table border="0" cellpadding="0" cellspacing="0" width="50%" class="table_box">
                    <tr>
                        <td colspan="2" height="40" align="center" class="td_leftL td_rightL td_botL">
                            <p>修改设备信息</p></td>
                    </tr>
                    <tr>
                        <th width="110" height="35" class="td_leftL td_botL" align="right"><font
                                color="#FF0000">*</font>设备名&nbsp;</th>
                        <td width="490" class="td_leftL td_botL td_rightL">
                            &nbsp;<input type="text" class="easyui-textbox" required="true" name="deviceName" id="deviceName"
                                         th:value="${deviceName}"/></td>
                    </tr>
                    <tr>
                        <th width="110" height="35" class="td_leftL td_botL" align="right"><font
                                color="#FF0000">*</font>位 置&nbsp;</th>
                        <td width="490" class="td_leftL td_botL td_rightL">
                            &nbsp;<input type="text" class="easyui-textbox" required="true" name="devicePosition" id="devicePosition"
                                         th:value="${devicePosition}"/></td>
                    </tr>
                    <tr>
                        <th width="110" height="35" class="td_leftL td_botL" align="right"><font
                                color="#FF0000">*</font>设备状态&nbsp;</th>
                        <td width="490" class="td_leftL td_botL td_rightL">
                            &nbsp;<select id="deviceState" class="easyui-combobox" panelHeight="auto" style="width: 50px;" name="deviceState">
                            <option value="1" >空闲</option>
                            <option value="2" >运作</option>
                            <option value="3" >异常</option>
                            <option value="4" >维修</option>
                        </select></td>
                    </tr>
                    <tr>
                        <td colspan="2" height="40" align="center" class="td_leftL td_rightL td_botL">
                            <input id="update" type="button" class="input_button" value="保 存"/>&nbsp;
                            <input id="goBack" type="button" class="input_button" value="返 回"/></td>
                    </tr>
                </table>
            </form>
        </div>

    </div>
</div>
<script src="/lib/jquery/dist/jquery.js"></script>
<script src="/lib/jquery-easyui/jquery.easyui.min.js"></script>
<script src="/lib/jquery-easyui/locale/easyui-lang-zh_CN.js"></script>
<script src="/lib/jquery-easyui/easyui-extend/easyui-extend-rcm.js"></script>
<script src="Mechanics_edit.js"></script>
</body>
</html>